import request from "@/utils/request.js";

export function getGroupData(id) {
    return request({
        url: "/senior/list",
        method: "get",
        params: id
    })
}

//返回单个意思
export function getGroupOneMeaning(id) {
    return request({
        url: "/senior/listOneMeaning",
        method: "get",
        params: id
    })
}

export function getTestDetailsList(params) {
    return request({
        url: "/senior/practice",
        method: "get",
        params: params
    })
}

export function putStudyData(params) {
    return request({
        url: "/senior/dataOne",
        method: "post",
        data: params
    })
}

export function putStudyList(params) {
    return request({
        url: "/senior/dataList",
        method: "post",
        data: params
    })
}

export function putSeniorTestList(params) {
    return request({
        url: "/senior/dataTestList",
        method: "post",
        data: params
    })
}

export function putChinToEngData(params) {
    return request({
        url: "/senior/chinToEngData",
        method: "post",
        data: params
    })
}

export function getWriteDetailsList(params) {
    return request({
        url: "/senior/writeDetailsList",
        method: "get",
        params: params
    })
}

export function getStudyDetailsList(params) {
    return request({
        url: "/senior/study_detail",
        method: "get",
        params: params
    })
}